package com.jt.demo8_anno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class User1 {
    public static void main(String[] args) {
          new AnnotationConfigApplicationContext(SpringConfig.class).getBean(TestUser1.class).hello();

    }
}
